Very sorry. Don't know what was going on in my head. Basically, I wanted to get rid of 6xy by converting it (along with an and term) into the form from where 2ab represents 6xy.
If 2ab = 6xy, possible values of a and b can be: .
So we have: .
Now looking at your question, we adjust accordingly:
The rest follows.