I am faced with the question in the title and have shown it on my own, but my friend has been asking how to solve it and I want to see if there is a quicker method than what I have used.
I stopped because I originally expanded out all of the brackets and collected terms together but it gets very method, so I was wondering if you could fairly quickly factorise the expression into the desired form in the title?

You have an easier job using Pythagoras on the sides of the triangle:
$$\left[(x-a)^2+(y-b)^2\right]+\left[(x-c)^2+(y-d)^2\right]=(a-c)^2+(b-d)^2$$
or (noting that the squares of constants cancel and dividing though by $2$)
$$x^2-ax-cx+y^2-bx-dx=-ac-bd$$
from which the conclusion follows.
[But the other way using the scalar/dot product is neater and shows more insight]