It appears that you added the two common factors together:

Remember that you are really using the distributive property in reverse: . Notice that the common factor a does not end up doubled. In this case, , , and .