DP+MATH problem

TASK-D can anyone help me with this Problem?? editorial is not much clear.