Can anyone kindly help me how do i formulate a tabulation of this word problem with its maximum profit and constraints?