Simplify (10m^5n^2-30mn)/(5mn)