Use the image to answer the question.

An illustration shows a coordinate plane with four quadrants. The x and y axes extend from negative 10 to 10 in increments of 1. Two points are plotted on the graph. An upward slanting line connects the two points. Point A is plotted at coordinates left parenthesis 1 comma negative 2 right parenthesis. Point B is plotted at left parenthesis 6 comma 1 right parenthesis.

Determine the slope of the line.

The slope of a line can be calculated using the formula:

m = (y2 - y1) / (x2 - x1)

Using the coordinates of points A and B:

Point A: (1, -2)
Point B: (6, 1)

Substitute the values into the formula:

m = (1 - (-2)) / (6 - 1)
m = 3 / 5
m = 0.6

Therefore, the slope of the line connecting points A and B is 0.6.