\[\sqrt{40} \cdot \sqrt{10} - \frac{\sqrt{20}}{\sqrt{5}} =\]
\[= \sqrt{40 \cdot 10} - \sqrt{\frac{20}{5}} = \sqrt{400} - \sqrt{4} =\]
\[= 20 - 2 = 18.\]