Answer: 4
Step-by-step explanation:
Since the line passes through the origin, we can divide the y over x values like this
slope = y/x = 24/6 = 4
If the line didn't pass through the origin, then you would need to use the slope formula which is
m = (y2-y1)/(x2-x1)
You could use the slope formula on (0,0) and (6,24) and you should get m = 4.