[tex]Domain:m>0\ \wedge\ m\neq1\\\\\log_m40-2=\log_m40-\log_mm^2=\log_m\dfrac{40}{m^2}\\\\Used:\\\\\log_aa^n=n;\ \log_ab-\log_ac=\log_a(b-c)[/tex]