The Solution:
Given:
a.
The explanatory variable is the number of years (x).
b.
The salary (y) when the number of years is 12 years.
c.
The annual salary when x = 6 years.
d.
The residual for someone who has completed high school education for 6 years.
Residual = actual y value − predicted y value.