It is an example of a sentence with a misplaced modifier. It makes it seem that the dog is carrying the umbrella.
Basically its saying as long as you reach your goal it doesnt matter how you got there. this is my opinion... ever heard of the tortoise and the hare? even tho the tortoise was obviously slower he crossed the finish line because he didnt stop to rest like the hare did
Answer:
The compound sentence is the third option:
"My brother likes to go fishing in the afternoons, but I prefer riding my bike."