Answer:

Step-by-step explanation:
We can model this function using the equation of a line:

Where a is the slope of the line and b is the y-intercept.
To find the values of a and b, we can use the two points given:
(-9, -3):


(-12, 4):


If we subtract the second equation from the first one, we have:




Then, finding the value of b, we have:



So the equation is:

So basically, you subtract (2677-285 = 2392) then you divide by 2 (2392/2=1196) so Ricky has 1196 and Pedro has 1481
87/62 = 1 and 25/62 (simplest form)