The first side of the square known as a ; 2nd side of the square is b \(\left(a>b\right)\)
\(\Rightarrow a^2+b^2=100\)
\(\Rightarrow a^2+b^2=36+64\)
\(\Rightarrow\begin{cases}a=8\\b=4\end{cases}\)
=> The perimeter = \(8.3+3.6+8-6=24+18-2=40\left(cm\right)\)