In general, PDE Toolbox is able to solve 2D PDE in the form shown on this page:
PDE Form
Any of those coefficients (e.g. c, a, f, d) can be functions of x, y, t, u,
$\frac{\partial u}{\partial x}, \frac{\partial u}{\partial y}$.
If the coefficients are relatively simple expressions, the simplest way to define them is by typing a string expression in text boxes above (e.g. 1+x.^2+4*y). That approach is documented on this page:
Coefficients defined with string expressions
If the coefficients are more complicated, it is usually more straightforward to define
them as MATLAB functions. That approach is documented on this page:
Coefficients defined with a function
For your equation, f could be defined as the string "x.^ux+(y-1).*uy"
(without the "),
a=-2, d=1, and c=0.
However, a strong caveat is in order. The algorithms in PDE Toolbox are designed for the case where the second-order c-term is significant relative to the first-order derivative terms. So the success for this equation will depend very much on the boundary and initial conditions. It might also be necessary to set c to some small number; this is sometimes referred to as adding "artificial diffusion."