The utility obtained when a person works for $x$ hours at job $A,$ and for $y$ hours at job $B$ is given by
$$
f(x, y)=2 \sqrt{x}+\sqrt{y}, x \geq 0, y \geq 0
$$
How many hours should the person work on each job to maximise the utility, if the person works for a total of 10 hours ?