It is given that
q is the mean proportional between p and r
q2 = pr
Here
LHS = \[{{p}^{2}}~\text{ }3{{q}^{2}}~+\text{ }{{r}^{2}}\]
We can write it as
\[=\text{ }{{p}^{2}}~\text{ }3pr\text{ }+\text{ }{{r}^{2}}\]
So we get
\[=\text{ }{{r}^{2}}~\text{ }3pr\text{ }+\text{ }{{p}^{2}}\]
Here
LHS = RHS
Therefore, it is proved.