The running time for movie a is 39 minutes more than twice the running time for movie
b. If the running time for movie a is subtracted from triple the running time for movie​ b, the result is 47 minutes. Find the running times for each movie.