It is recommended to solve for 'y' variable the equation given, this means, leave the 'y' variable alone in one side of the equation. Doing that, leaves us the following:
This is the general equation of a line: where 'm' is the slope (by comparison), thus We have the desired result