Sorry if this is messy but I hope it helps you
Answer:
x + y = 13
98x + 115y = z
Step-by-step explanation:
Let x represent the time spent taking class in Westside community college
Let y represent the time spent taking class in Pinewood community college
Let z represent the combined total amount paid for the class fees.
The total combined time for the two school is given as:
x + y = 13.
For the combined total amount; we multiply the price for each school with the time spent on the school and sum them together.
Westside: 
Pinewood: 
The combined total amount represented as z is given as:
z = 98x + 115y
Answer:
y = -
x + 6
Step-by-step explanation:
The equation of a line in slope- intercept form is
y = mx + c ( m is the slope and c the y- intercept )
Calculate m using the slope formula
m = 
with (x₁, y₁ ) = (0, 6) and (x₂, y₂ ) = (6, 2) ← 2 points on the line
m =
=
= - 
The line crosses the y- axis at (0, 6) ⇒ c = 6
y = -
x + 6 ← equation of line