The first thing you have to do is make it a proper function that you can work with for the slope formula. You want to change it so that it is set equal to y.

8x=4y-4

8x+4=4y

(8x+4)/4=y

y= (2x+1)

Then, you want to graph the function and find two points on the line.

(0,1) and (1,3)

Then, you want to apply the equation to the slope formula

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

x1=0 x2=1

y1=1 y2=3

m=(3-1)/(1-0)

m=2/1

m=2