Right, I did both of them both ways. If you do not pull out the constants, you get the correct answer for #1. However, #2 is not (1/2)*ln(2x), it is ln(x)/2.
Summary:
Pull out constants:
#1 wrong, #2 right
Do NOT pull out constants:
#1 right, #2 wrong