The hardest part of the job is to find the right formula to use, and write it down. You've already done that ! The rest is just turning the crank until an answer falls out.
You wrote. E = m g h.
Beautiful.
Now divide each side by (g h), and you'll have the formula for mass:
m = E / (g h).
You know all the numbers on the right side. Just pluggum in, do the arithmetic, and you'll have the mass.
The independent variable is the different amount of repellent each person is given. This is because it does not depend on any variable. The dependent variable is what they are measuring, which would be the number of bites on each volunteer.
I hope this helps! :)