no way man the derivative of 3x-2 is WAY to easy. for a simple function like that all you have to do is take the power of x in each term and bring it out front to multiply by the coefficient, and then subtract 1 from the power.
(1)3x1-1-2
so the term 3x is to the power of 1, so multiply 1 by three, coefficient is still 3, subtract 1 from 1, zero, x drops.
since 2 doesn't have an x it also drops. leaving you with 3.
you could have made tha tharder! ;D