Solving a class of quadratic matrix equations. (August 2018)