Using the distributive law of multiplication over subtraction i have a question

Why is the answer not ?

Because in the first half of the answer the x is under the radicand. While in the second half the x is outside the radicand. I do not understand why one x would be included under the radicand while the other would not.

Please Help Clarify & Many Thanks