Please give me the right solution with explanation.