In his​ motorboat, Bill Ruhberg travels upstream at top speed to his favorite fishing​ spot, a distance of 270 ​mi, in 5 hr.​ Returning, he finds that the trip​ downstream, still at top​ speed, takes only 4.5 hr.
Find the rate of​ Bill's boat and the speed of the current.
Let x​ = the rate of the boat in still water and y​ = the rate of the current.