problem 40! tough derivation x,x