Suppose a consumer's level of satisfaction is given by AB2 and he/she has a total of $10 to spend on goods A and B. If the price of A is $1 and the price of B is $2, and assuming you can only purchase whole units (not fractional) of A and B, how many units of A and B should he/she purchase?