Answer: Speed of the current is 3 miles per hour.
Step-by-step explanation:
Since we have given that
Speed of motor boat = 12 miles per hour
Distance traveled upstream = 45 miles
Let the speed of the current be x
Total time taken by upstream and downstream = 8 hours
Relative speed for downstream is given by

Relative speed for upstream is given by

According to question, we have

Hence, Speed of the current is 3 miles per hour.