Step-by-step explanation:
Given
y = 2x + 7
Comparing the above equation with y = mx + c
Then slope (m) = 2