I'm doing an advanced maths class for high school and we have just started a topic about proofs.
One of the questions (assume all numbers are integers here) is to prove that if $x\cdot y$ and $x + y$ are even, then both $x$ and $y$ are even.
I know that an even number is defined by 2m. With a proof like this, could I start my proof by assuming that x and y are even and then substituting into $x\cdot y$ and $x + y$? Or should I be starting from them and proving that $x$ and $y$ are even.
Alternatively, would it be better (or simpler) to prove starting by assuming that the numbers are all odd?