You're almost right.
The mistake is here :
so you should have been warned there's a problem here =)
Don't forget the formula, which should give twice more solutions.
Now, you can shorten it.
In fact, you can notice that
Try to gather all of these, you'll get that :