Answer
You were traveling at 12.5 miles per hour.
Work Step by Step
If it takes you 12 minutes to go 2.5 miles, you can convert minutes to hours by changing it to $\frac{12}{60}$, which can be simplified to $\frac{1}{5}$.
Therefore, you travelled 2.5 miles in 0.2 hours.
From there, you can solve by dividing 2.5 miles by 0.2 hours.
$2.5\div0.2=12.5$
You were traveling at 12.5 miles per hour.