See Fig.
The coordinates of centre E are (a/2,b/2). The slope of AC = -b/a
The slope of DB = a/b ⇒ a/b sinθ = a/(√a2 + b2)
⇒cosθ = b/(√a2 + b2)
Length AE = EC = EB = ED = 1/2 AC = 1/2√a2 + b2
Using the distance form for DB, we get
Thus, the coordinates of other two vertices are thus
Now, given that A and C move on perpendicular lines (axes). For the coordinates (a + b/2,b + a/2),we have the locus x = y and for (a - b/2,b - a/2) the locus is x = −y. These are also perpendicular lines.