Question 168594
Yu did not state directions but I assume you want to factor, right?

2ab + 2ay + bx + xy

When you have 4 terms, it is best to factor by groups.

2ab + 2ay = group 1

bx + xy = group 2

Factor each group individually.

2ab + 2ay = 2a(b + y)

===============================

bx + xy = x(b + y)

We now have this:

2a(b + y)x(b + y)

Notice that we have two quantities that are the same, which is (b + y).

We only need one of them.

Your final answer is the following two factors:

(2a + x)(b + y)