2x+4y=16

Xy=0

If xy=0 then either x or y is zero. The other can be anything. So, the solutions are

(0,4) and (8,0)