Philosophy homework help. a) Suppose you decide to split the 100 units of X in a way that maximises anadditive social welfare function: W = UC + UM. How many units of X do thecheerful people get and how many units do the mournful people get? i.e. findXC and XM that maximises W, subject to the constraint.b) Suppose, instead, you have a Rawlsian perspective with a social welfarefunction: W = min(UC,UM). How many units of X do the cheerful people get andhow many units do the mournful people get?c) Finally, suppose you are a Libertarian so care about having a process ratherthan considering the outcome. How many units of X do the cheerful people getand how many units do the mournful people get?