Triangle ABC below is an isosceles triangle, where sides stack A B space with bar on top space a n d space stack B C space with bar on topare of equal length. If A B equals square root of 5 x plus 21 end root space u n i t s and B C space equals 2 square root of 3 x end root space u n i t s, what is the value of x ?