Correct choice is (a) With depth only
To explain: According to Pascal’s law, the local pressure of a fluid is same in all directions. Hence, the pressure won’t vary along the x and y direction. The local pressure will increase with an increase in depth due to the extra weight of water column above that point.