So the ladder is 4 feet from the wall and 18 feet tall. This can translate to negative 4 spaces on the x-axis and 18 spaces on the y-axis. The slope of a line is rise over run which is 18/4 or 4.5
I hope the answer is right and I hope I helped. Have fun with the rest of your math :)