In Alxemy, a cog is created by combining a wheel with a thorn.
The game's crafting logic tends to pair a mechanical object with something sharp or toothed, so if a recipe isn't taking, double-check you've dragged the exact elements rather than a near-equivalent.