Shady01, your first line is wrong.
If you were to go down the z = x + iy path, using modulus definitions:
sqrt(c) + sqrt(d) = 10
You can't just square both sides to get c + d = 100.
In fact, the easiest way to do this is to rearrange as sqrt(c) = 10 - sqrt(d) and then square both...