Find out which of the answer figures (a), (b), (c) and (d) completes the figure matrix?

5
2
3
4
1
In each row(as well as column), the figure in third box is a combination of all the elements of the first and second figures.