By definition, the kinetic energy is given by:

Where,
m: body mass
v: body speed
On the other hand, the potential energy is:

Where,
m: body mass
g: acceleration of gravity
h: height of the object
Therefore, a set of terms that affects kinetic and potential energy are speed and height, respectively.
Answer:
The set of terms is speed and height, respectively.