The general equation of a line is expressed as

When the linear function crosses the x-axis at x = -3, the value of y equals zero.
Thus, substitute the above parameters in equation 1.

When the linear function crosses the y-axis at y = 5, the value of x equals zero.
Thus, substitute the above parameters in equation 1.

From equation 3, substitute the value of 5 for c in equation 2.
Thus,

solve for m,

Since the values of m and c are now known, substitute their respective values into
equation 1.
From equation 1, we have

Hence, the equation of the line is
