Write the equation of the line that represents the linear ap…