Ayanna is 3 years older than Brittany. The sum of 3 times Brittany's age and 2 times Ayanna's age is 76. How old are Ayanna and Brittany?