Star A and Star B have different apparent brightnesses but identical luminosities. Star A is 10 light years away from earth and appears 36 times brighter than star B. How far away is star B?