AA' is the distance you will travel in 2 hours=2*62=124. So total distance from Seattle is 124+38=162 miles.
BB' is the distance your friend will travel=2*65=130. So total distance from Seattle is 130+20=150 miles.
You would be 162-150=12 miles further from Seattle than your friend.
If t is the time at which the distances would be equal, 62t+38=65t+20; 18=3t, so t=6 hours. (The actual distance would be 372+38=390+20=410 miles.)