A triangle has sides A, B, and C. The angle between sides A and B is π6. If side C has a length of 5 and the angle between sides B and C is 5π12, what are the lengths of sides A and B?