Prove that if $x$ is odd, then $x^2$ is odd
Suppose $x$ is odd. Dividing $x^2$ by 2, we get: $$\frac{x^2}{2} = x \cdot \frac{x}{2}$$ $\frac{x}{2}$ can be rewritten as $\frac{x}{2} = a + 0.5$ where $a \in \mathbb Z$. Now, $x\cdot\frac{x}{2}$ can be rewritten as:
$$x\cdot\frac{x}{2} = x(a+0.5) = xa + \frac{x}{2}$$
$xa \in \mathbb Z$ and $\frac{x}{2} \notin \mathbb Z$, hence $xa + \frac{x}{2}$ is not a integer. And since $xa + \frac{x}{2} = \frac{x^2}{2}$, it follows that $x^2$ is not divisible by two, and thus $x^2$ is odd.
Is it correct?
Your written proof is correct. FYI, here is another proof technique which, although it's far more than you need in your case as Bill's comment indicates, is somewhat shorter and, perhaps, of some use to you, such as for other more complicated related problems.
Since $x$ is odd, this means it has no factors of $2$. By the Fundamental theorem of arithmetic, $x^2$ has the same prime factors as $x$, just twice as many of each of them and, thus, also no factor of $2$. As such, it is also odd.