I'm going to assume that there is an original equation of y=(-1/2)x+b with a y-value of 2 and an x-value of -3, solve for b.
2=−12(−3)+b
Multiply.
2=32+b
Subtract b from both sides.
42−32=b
b=12
Now plug back into original equation.
y=−12x+12
In a problem with mx+b format, m is the slope, or in this problem m=−12.