\(\frac{a}{b}=\frac{c}{d}\Rightarrow\frac{a}{b}.\frac{c}{d}=\frac{a}{b}.\frac{a}{b}=\frac{a^2}{b^2};\frac{a}{b}.\frac{c}{d}=\frac{c}{d}.\frac{c}{d}=\frac{c^2}{d^2}\\ \Rightarrow\frac{a}{b}.\frac{c}{d}=\frac{a^2}{b^2}=\frac{c^2}{d^2}=\frac{a^2+c^2}{b^2+d^2}\)