Let the speed of the boat in still water be (v) km/h.
Stream speed = 4 km/h.
Given:
v+420+v−414=3
Solving:
20(v−4)+14(v+4)=3(v2−16)
20v−80+14v+56=3v2−48
34v−24=3v2−48
3v2−34v−24=0
Now solve using:
v=634±38
v=12 or −32
Reject negative value.
Speed of the boat in still water = 12 km/h