how do I find AC if AE = x + 50 and CE = x + 32

ANSWER
AC = 18
EXPLANATION
Let us draw a diagram to represent the situation:
From the diagram, we see that:
AC + CE = AE (since they are colinear)
So, we have that:
AC + x + 32 = x + 50
=> AC = x + 50 - x - 32
AC = 18
That is the value of AC.