Calculate the number of ATP molecules that would be formed in the…