First, you need a ladder to get onto the first ledge.
Go back to the ant mound and retrieve the ladder.
Get the ladder after climbing onto the first ledge and use it again on the side of the water tank.
Now's the time for some cowboy action.
A lasso will help you get to the top of the water tower.
Use the hand icon on the rope found outside the smithie's shop to tie it together.