Tap the hammer in the bottom-left corner to buy wood, then tap the flowers near the top-center and scroll until you find the wood. There may be a level or price requirement.
Buy the wood and place it near Timber Smurf's hut. Wait until the little arrow points to his hut, then tap it—Papa Smurf will confirm the quest is complete. You'll then need to repeat the process for Miner Smurf.