Answer:
x + y = 25 is the answer.
Explanation:
Let the speed of the ship is represented by x and speed of current by y.
When the ship sails against the current the speed of ship will be (x - y) nautical miles per hour.
Against the current ship sails 150 nautical miles in 10 hours.
So the speed of the ship was =

=
nautical miles per hour
And the equation will be (x - y) =
x - y = 15 -------(1)
The same ship when returns with the current then the speed of the ship = (x + y)
Along with the current ship sailed the same distance 150 nautical miles in 6 hours.
Speed of the ship will be =
nautical miles per hour
Now the second equation will be (x + y) = 25 --------(2)
Equation 2 is the equation represents ship's return while going with the current.