Simplify (3-2i)(1+7i)