The amount of calories burnt in t mins in Routine #1 is given by:

The amount of calories burnt in t mins in Routine #2 is given by:

For the time period when the amounts of time spent running in Routine #1 burn fewer calories than Routine #2, we have:

Since t is non-negative, it follow that the solution is given by:
0 ≤ t ≤ 5
.