To get the slope of a line you would do the equation Rise/Run ("Rise over Run"). so starting from 0,0 the next whole number (on both at the same time) that it reaches is (1,5) (X,Y) so 5/1=5
To find the slope, you use rise/run. In this case... the rise is 5 up and the run is 1 across. Therefore it is 5/1 which is the same as 5. Hope this helped!