Dynamic progrraming (IPL)

sir,have you any other approch to solve this question without seeing SUPW quetion…. i did not understand how it is opposite to SUPW,because they have some similiarity between them, i.e in both question we choose one or two elementt in every subsequence of 3 elemet…