differentiate 3^(xy) wrt x