We have a distance of 336 km and a time to travel that distance that is 12 hours.
We can write the distance traveled in function of time as a proportional relationship, with constant of proportionality:
a) Then, the equation becomes:
with d (distance) in km, and t (time) in hours.
Answer: d=28*t
b) If the current is 2 km/h and assuming the current is adding to the speed of the boat, we know that the average speed (28 km/h) is the sum of the current speed and the engine speed, so we can calculate the engine speed as:
Answer: The speed coming from the engine is 26 km/h.