Given:
Two ships were 700 miles apart at midnight .
Let x be the speed of first ship and (x+30) be speed of second ship (faster ship).
The equation is,
Answer: the speed of first ship ( slower) is 20 miles and the speed of second ship ( faster) is 20+30=50 miles.