Right away we can get rid of answer b and c they have no correlation with the question imo the answer is A. The weight of the apples is a function to their cost the weight is the independent and the cost dependent.
Sorry if this is wrong I am not 100% sure