#"approach 1:"#
#f(x)=y=-3x+2#
#3x=2-y#
#x=(2-y)/3#
#"now ; x and y mutually changed"#
#y=(2-x)/3#
#f^'(x)=(2-x)/3#
#"approach 2: use the formula :"#
#f(x)=(a x+b)/(c x+d)" ; "f^'(x)=(-d x+b)/(c x -a)#
#a=-3" ; "b=2" ; "c=0" ; "d=1#
#f^'(x)=(-x+2)/(0*x+3)#
#f^'(x)=(2-x)/3#