Answer:
you're not doing anything wrong
Step-by-step explanation:
In order for cos⁻¹ to be a function, its range must be restricted to [0, π]. The cosine value that is its argument is cos(-4π/3) = -1/2. You have properly identified cos⁻¹(-1/2) to be 2π/3.
__
Cos and cos⁻¹ are conceptually inverse functions. Hence, conceptually, cos⁻¹(cos(x)) = x, regardless of the value of x. The expected answer here may be -4π/3.
As we discussed above, that would be incorrect. Cos⁻¹ cannot produce output values in the range [-π, -2π] unless it is specifically defined to do so. That would be an unusual definition of cos⁻¹. Nothing in the problem statement suggests anything other than the usual definition of cos⁻¹ applies.
__
This is a good one to discuss with your teacher.