If , then the maximum value of is
, with equality at . Hence the maximum value is 6.
Question ID VK-028584