The lengths of the sides of a triangle are given as $|a|^2 + |b|^2 = 5|c|^2$ , where $|k|$ denotes the absolute value of $k$. Prove that the medians drawn from $A$ and $B$ are perpendicular.
What I Tried: Here is a picture :-
I would normally solve these kind of problems using elementary geometry, but I wasn't able to do it this time, simply because $(a,b,c)$ can take many values and there is probably some kind of construction or some clever proof which I am missing. One idea I thought of is that the medians divide the side lengths into $2$ equal parts, and the centroid itself divides the medians in $2:1$ ratio, and I probably have to show somehow, that Pythagoras Theorem on either of the $3$ triangles work. I took an example in Geogebra by drawing an accurate diagram with $a = 12$ , $b = 18.66$ nearly, and then $c = 10$ . This actually showed that the medians from $A$ and $B$ are really perpendicular, and I just drew a picture of that taken from Geogebra.
Now given $(a,b,c)$ , is there any way to prove this? I did not find any elementary methods like angle-chasing , pythagoras theorem , similarity and areas , etc. , but I did not find any clever use of them till now. Maybe some extra construction is required?
Can anyone help me? Thank You.

Let DB and EA meet at X. From the triangle median theorem $$DB^2= \frac12( AB^2+ BC^2)-\frac14 AC^2, \>\>\> EA^2= \frac12( AB^2+ AC^2)-\frac14 BC^2 $$ Combine them, along with the given $BC^2+AC^2=5AB^2$, to get $$DB^2 +EA^2 = AB^2 +\frac14(BC^2+AC^2)= \frac94 AB^2$$
and substitute it into the cosine rule below \begin{align} \cos\angle DXE= \frac{DX^2+EX^2- DE^2}{2 DX\cdot EX}= \frac{\frac19 (DB^2+EA^2)- \frac14 AB^2}{2DX\cdot EX}=0 \end{align}Thus, $\angle DXE =90^\circ$ and the two medians are perpendicular.