
Mike D. answered 09/02/20
Effective, patient, empathic, math and science tutor
I will model this for you assuming 6 GB, $ 40 , and $ 15 per additional gb over 6 (your numbers are 8, 35, 10).
P (8.5) is the amount she pays if she uses 8.5 GB of data in a month.
Calculating it
Fixed cost $ 35
First 6 GB of data - no extra cost
Remaining 2.5 GB, $ 15 per GB, so cost = 2.5 x 15
So p(8.5) = 35 + 0 + 2.5 x 15 = 72.5
(b) If d <= 6, p(d) = 35 (fixed cost, no extra data charge)
if d >6 p(d) = 35 + 15 (d-6) (fixed cost plus extra charge per GB over 6)
so p(8.5) = 35 + 15 (8.5 - 6) = 72.5 as above
So now write out your solution, using my model and your numbers
Mike

Mike D.
Sorry my model assumed $ 35 fixed cost not $ 4009/02/20