If the hydrolysis of pyrophosphate and recycling of UTP is included, a balanced equation for the sum of the six reactions involved in the addition of a glucose residue onto glycogen is
glucose + xATP + glycogen + H2O -> glycogen+1 + xADP + xPi.
What is the numeric value of x?