Problem: Optimizing utility under constraint

Problem

Solution