In triangle ABC, side AB is one-third of the length of side AC. Side BC is 5 more than the length of side AC. The perimeter is 19. What is the length of side AC?