Quant Concept series question


I did not understand the logic of the solution here could someone help me?
Does the product of no. of numbers and their median equal their sum or is it mean instead of median?