AC is a tangent so by definition, it touches the circle at exactly one point (point C) and forms a right angle at the tangency point. So angle ACO is 90 degrees
The remaining angle OAC must be 45 degrees because we need to have all three angles add to 180 45+45+90 = 90+90 = 180