You have four linear functions:
1.

with slope

;
2.

with slope

;
3.

with slope

;
4.

with slope

.
The steepest slope is that of the line that is closest to being vertical. This could be a line that has positive slope OR negative slope...the steepest one should be determined by examining the ABSOLUTE VALUES of these four slopes.
Since
the steepest slope has first function.