So we are dealing with hundreds. It has three places for digits. I'm taking more or less brute force way.
_ _ _
Let's start with one place. We can force it to be six, then count how many possible digits for other places. We forbid other place to be six for now so counting would be easier.
_ _ 6
Hundred place can be 2, 3, 4, 5, or 7, so that would be 5 possible digits for hundred place
Ten place can be 0,1, 2, 3, 4, 5, 7, 8, 9 so that would be 9 possible digits
So there are 9 × 5 = 45 numbers between 200 and 800 with 6 in only one place.
Now do ten place:
_ 6 _
Again hundred place has 5 possible digits
One place would have 9 possible digits
So again there are 45 numbers between 200 to 800 with 6 only in ten places.
Now put 6 in hundred place
6 _ _
Ten and one place can be 0, 1, 2, 3, 4, 5, 7, 8, 9, so that's 9 × 9 = 81
So then we add up all amount of numbers we gathered. 45 + 45 + 81 = 171. However we under-counted because we did not allow other places to be 6.
Let's count how many numbers have exactly two 6's We can do the same thing. Let one and ten place be 6.
_ 6 6
So possible digits for hundred place would be 2,3,4,5,7, so that's 5 numbers
Now do 6 _ 6. Ten place can be 0, 1, 2, 3, 4, 5, 7, 8, 9, so that's 9 numbers.
Finally, 6 6 _. Again same as ten place, there's another 9 numbers.
So 171 + 5 + 9 + 9 = 194
Finally there's 666, so we add one then we get 195.
x= x value (usually stays as x when you write an equation and replace it with the x value when solving)
b= y-intercept (in this case when p is zero what is the q value)
y-intercept = -1.7 (in this equation found from the table)
slope= 0.3/1 (the rate it the numbers increase at. q is changing +0.3 each time and p is changing by 1. p (or the x value) goes on top of q (or the y value)) (I found the missing information in between 2 and 5)
2b + p = 10 min 2 runs around the block takes 10 minutes 2b + 3p = 22 min 2 runs around the block plus 3 runs around the park takes 22 minutes
To solve, I will use substitution. First, I will divide the first equation by 2 to get b by itself and subtract p from both sides to get b by itself. Then, substitute 5 - 1/2p in for b in the second equation because they have equal values. Then, subtract 10 from both sides to eliminate it. Divide by 2 to both sides to get 'p' by itself.
2b + p = 10 min ---------→b + 1/2p = 5 ----------→ b = 5 - 1/2p