It's a chain of events rather than a single trip. Here's the condensed route:
First, get the part from the Team Rocket grunt. Then head to the Power Plant — go east from Cerulean City, surf across the water, then surf south. Hand the part to the manager standing by the generator.
Next, go to Lavender Town and enter the Radio Tower. Talk to the man who was running around when you first visited, and he'll give you the Radio Card. Head south to the Snorlax blocking the road, open your Pokégear's radio, tune to the very top of the dial, wait a moment, then close it. Talk to Snorlax and it will battle you — catching it is worth the trouble.
Finally, go through Diglett's Cave (bring a Pokémon that knows Cut), cut the trees on the far side, and head south toward Viridian City. Keep going south, and Pallet Town is at the end of the route.
It reads like a lot, but each step is short once you know the order.