X = 2 and Y = 4 Units.
Check the second order condition with Hession Matrix to evaluate whether the
given profit function is maximum or minimum.
Mathbot Says...
I wasn't able to parse your question, but the HE.NET team is hard at work making me smarter.