Let c be the intercept on the y-axis.
Then, the equation of the line is
This is the normal form of the given line.
Therefore, denotes the length of the perpendicular from the origin.
But, the length of the perpendicular is 5 units.
Thus, substituting in , we get the equation of line to be or,