A quadratic equation in a simultaneous way