Which two factors affect gravitational potential energy?

a
weight and height
b
mass and height
c
mass and velocity
d
weight and velocity

b, mass and height