Answer:
B = mass, height
Gravitational potential energy is a function of the mass ans the height of an object.
Step-by-step explanation:
The formula for gravitational potential energy is 
GPE = mgh 
m = mass in kilogram 
g = acceleration due to gravity 
h = height in meter above the ground 
Formula: 
GP.E = mgh
Consider the following example:
A crane lifts a 75kg mass a height of 8 m. Calculate the gravitational potential energy gained by the mass:
Formula: 
GP.E = mgh 
Now we will put the values in formula. 
g = 9.8 m/s² 
GP.E = 75 Kg × 9.8 m/s²× 8 m 
GP.E = 5880 Kg.m²/s² 
Kg.m²/s² = j 
GP.E = 5880 j