Here's what I have so far and I would like to know if I am right or if my proof needs to be edited:
Since $a$ is a unit it means $a1=a$, with $1$ being the unity element
We know $b^2=0$ and this means $b=0$
So $a+b=a+0=a=a1$ hence $a+b$ is a unit.
Here's what I have so far and I would like to know if I am right or if my proof needs to be edited:
Since $a$ is a unit it means $a1=a$, with $1$ being the unity element
We know $b^2=0$ and this means $b=0$
So $a+b=a+0=a=a1$ hence $a+b$ is a unit.
The element $a$ is unit means that there's $a'$ such that $aa'=1$. Now we have
$$(a+b)(a'-(a')^2b))=aa'-a(a')^2b+ba'+(a')^2b^2=1$$ so $a+b$ is unit.
Your proof does not make any sense. How do you conclude $a+b = a+0$, for instance? $b^{2} = 0$ does not imply $b = 0$; consider, for instance $2 \in \mathbb{Z}/4\mathbb{Z}$. Also, your definition of a unit is not correct. A unit is an element of a ring with a multiplicative inverse. If $a$ is a unit, then there exists $u \in R$ such that $au = 1$. $a\cdot 1 = a$ is true for every element of $R$ by the definition of the multiplicative identity in a ring!
However, the proposition given is actually a special case of a more general fact: if $R$ is a commutative ring and $a$ is a unit and $b$ is nilpotent, then $a+b$ is a unit.
Here is my hint in your case:
Consider $(a+b)(a-b) = a^{2}-b^{2} = a^{2}$. Since $a$ is a unit, can you use this to construct an inverse to $(a+b)$?