# 2010 AMC 12B Problems/Problem 7

The following problem is from both the 2010 AMC 12B #7 and 2010 AMC 10B #10, so both problems redirect to this page.

## Problem 7

Shelby drives her scooter at a speed of $30$ miles per hour if it is not raining, and $20$ miles per hour if it is raining. Today she drove in the sun in the morning and in the rain in the evening, for a total of $16$ miles in $40$ minutes. How many minutes did she drive in the rain? $\textbf{(A)}\ 18 \qquad \textbf{(B)}\ 21 \qquad \textbf{(C)}\ 24 \qquad \textbf{(D)}\ 27 \qquad \textbf{(E)}\ 30$

## Solution 1

Let $x$ be the time it is not raining, and $y$ be the time it is raining, in hours.

We have the system: $30x+20y=16$ and $x+y=2/3$

Solving gives $x=\frac{4}{15}$ and $y=\frac{2}{5}$

We want $y$ in minutes, $\frac{2}{5}*60=24 \Rightarrow C$

## Solution 2

Let $x$ be the time it is raining. Thus, the number of minutes it is not raining is $40-x$ .

Since we are calculating the time in minutes, it is best to convert the speeds in minutes. Thus, the speed per minute when it is not raining is $\frac{1}{2}$ per minute, and $\frac{1}{3}$ per minute when it is not raining. Thus, we have the equation, $\frac{1}{2}$ * x + $\frac{1}{3}$ * (40-x) = 16

Solving, gives $x$ = $16$ , so the amount of time it is not raining is $40$ - $16$ = $24$

~coolmath2017

## Video Solution

~IceMatrix

The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions. 