In triangle ABC, angleA is twice angleB, and angleC is 40 degrees larger than angleA. What is the measure of angleC?