Correct. You can use this system to solve the problem for t, time:

Solving for t by either substitution or elimination gives t = 0.5 (in hours), which is 30 minutes.