The linear equation that represents each function is y=mx+b. While The m represent the slop so instead of writing you write the slope provided. Then multiply by the X + b which is your Y-intercept.
Here is an example,
The slope is 2/3 and the y intercept is 6, write a linear equation for this sequence.
So assuming that the total =27 r+b=27 r=-5+3b r=3b-5 subsitute 3b-5 for r in first equation 3b-5+b=27 4b-5=27 add 5 4b=32 divide by 4 b=8 subsitute b+r=27 8+r=27 subtracct 8 r=19