It took Dad 5 more than twice as long to vacuum upstairs then to vacuum downstairs. He vacuumed for a total of 38 minutes. How many minutes did he vacuum upstairs?
Let D = time in minutes to vacuum downstairs
Upstairs = 2D + 5 minutes
3D + 5 = 38
3D = 33
D = <<11=11>>11 minutes
Upstairs = (2 * 11) + 5 = <<(2*11)+5=27>>27 minutes
Dad took 27 minutes to vacuum upstairs.
#### 27
Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
You are solving math problems. Here are some examples of how to solve the task:

Brenda is a vet who needs to spay some cats and twice as many dogs. If she needs to spay 21 animals total today, how many cats does she need to spay?Let c be the number of cats Brenda needs to spay and d be the number of dogs. We know that c + d = 21 and d = 2c.
Substituting the second equation into the first, we get c + 2c = 21
Combining like terms, we get 3c = 21
Dividing both sides by 3, we get c = 7
#### 7[END]

Pastor Paul prays 20 times per day, except on Sunday, when he prays twice as much.  Pastor Bruce prays half as much as Pastor Paul, except on Sundays, when he prays twice as much as Pastor Paul.  How many more times does Pastor Paul pray than Pastor Bruce prays in a week?Pastor Paul prays 20*6=<<20*6=120>>120 days per week, except Sunday.
On Sunday, Pastor Paul prays 2*20=<<2*20=40>>40 times.
Per week, Pastor Paul prays 120+40=<<120+40=160>>160 times.
Pastor Bruce prays half as much as Pastor Paul does on all days except Sunday, for a total of 120/2=<<120/2=60>>60 times.
Pastor Bruce prays twice as much on Sundays as does Pastor Paul, or 40*2=<<40*2=80>>80 times.
In total, Pastor Bruce prays 60+80=<<60+80=140>>140 times per week.
Thus, per week, Pastor Paul prays 160-140=<<160-140=20>>20 more times per week than Pastor Bruce.
#### 20[END]

Now, solve this next question in the style of the above examples:

It took Dad 5 more than twice as long to vacuum upstairs then to vacuum downstairs. He vacuumed for a total of 38 minutes. How many minutes did he vacuum upstairs?

### Response:
Let D = time in minutes to vacuum downstairs
Upstairs = 2D + 5 minutes
3D + 5 = 38
3D = 33
D = <<11=11>>11 minutes
Upstairs = (2 * 11) + 5 = <<(2*11)+5=27>>27 minutes
Dad took 27 minutes to vacuum upstairs.
#### 27