For a general equation of the nature xP + yQ → mR + nS, the…