Simplify (5-2i)(2+7i)-2i(3i)^2