One cake requires $\textrm 150$ gm of flour and $\textrm 50$ gm fat, and another requires $\textrm 75$gm of flour and $\textrm 75$ gm of fat. We want to make as many cakes as possible when $\textrm 1.5$kg flour and $\textrm 0.6$ kg fat are available. How many each kind should we make?.
My Attempt: If we let $x$ and $y$ as the number of cakes of first and second kind respectively, then we need two equations to get $\textrm x$ and $\textrm y$.. But, I could not get any idea to solve further. Please help. Thanks.