Solving a distance, rate, time problem using a system of linear

A motorboat travels 124 kilometers in 4 hours going upstream. It travels 180 kilometers going downstream in the same amount of time. What is the rate of the
boat in still water and what is the rate of the current?