In this problem 40 miles correspound to the 100%, so we can use a rule of 3 to calculate how many miles correspound to 25% and then we rest that from the total.
so the rule of three will be:
[tex]\begin{gathered} 40\to100 \\ x\to25 \end{gathered}[/tex]and the equation will be:
[tex]\begin{gathered} x=\frac{40\cdot25}{100} \\ x=10 \end{gathered}[/tex]So the second week Matt ran:
[tex]40-10=30[/tex]Matt ran 30 miles