You may have correctly substituted and multiplied first: . However, it seems that you multiplied by 3 rather than using it as an exponent.