Look, that 10 - 5r = 5(2-r). So:
[tex](10-5r)^2 = \left[ 5(2-r)\right]^2 = 5^2 \cdot (2-r)^2 =25(2-r)^2\\ \hbox{These bracket we will delete using this formula:} \\ (a-b)^2 = a^2 - 2ab + b^2 \\ \hbox{So we've got:} \\ 25 \cdot (r^2 - 2 \cdot 2r + 2^2)=\boxed{25(r^2-4r+4)} \\ \hbox{Or if you want to have it without bracket:} \\ 25r^2-100r+100[/tex]