This is part of homework.
Let $a \in \mathbb Z $. I know I can express $ 2|a $ as $\exists d\in\mathbb Z : 2d=a $ and $ 9|a $ as $\exists e\in\mathbb Z : 9e=a$ but don't know how to use it in this case.
My proof is this:
Let's say that if $2|a$ and $9|a$ then $18 ∤ a$ (antistatement). That is a contradiction as we can, for example, take $ a=36$. Then $2|a$, $9|a$, but also $18|a$. So the original statement must be true.
Is this proof enough or if something is missing then what?