How do you fnd the slope of a line #y=1/2x+2#?
See any straight line can be depicted by a general formula
Where m=slope of line
Since your given question is already in this format, comparing we get m=1/2.
Hope it helps!!
The general equation of a line is
In our case