In isosceles right triangle ABC, shown here, AC = BC. Point X is on side BC such that CX = 6 and XB = 12, and Y is on side AB such that XY is perpendicular to AB. What is the ratio of BY to YA?

BY / YA = 6√2 / 6√8