You may have already calculated the answer however, another way of doing this is to calculate the speed at 10J and 4J by re arranging KE=0.5mv2 . Then assuming acceleration due to gravity = 9.81ms-2. You can re-arrange equation v2 = u2+ 2as to make s (displacement) the subject and sub in the values.