The temperatures of two cities were measured at the same time. The
temperature in city A was 60 degrees and rose at a constant rate of 2
degrees per hour.
The temperature in city B was 40 degrees and rose at a constant rate
of 10 degrees per hour.
Enter the number of hours it took for the temperature to be the same in
both cities.