I have dificulty solving these problems:

the first is:

lim x -> 0 (from the left) ((3x-2)/(3x+2))^x

I wasn't sure, could I just plug in 0 and get -1 instead of applying l'hopital's rule?

the second is:

lim x -> 1 (from the left) (x-1) (tan((pi * x)/2) )

(tan((pi * x)/2) ) / (1/(x-1)

since there is no multiplication rule. Took the derivative...

((sec(pi*x / 2)^2 * (pi/2)) / (-1/(x-1)^2)

and this where i got really confused. Please help.