Thank you for the opportunity to help you with your question!

The slope of a line is given by the change in y divided by the change in x

In the question at hand, the original value of 2 while the new value is 8. The original value of y is 2 while the new value is 5. The change can be represented as follows

Change in y = > 5-2=3

Change in x => 8-2=6

The Slope is therefore equal to 3 divided by 6

=3/6

=1/2

Please let me know if you need any clarification. I'm always happy to answer your questions.