Solve this triangle (photo attached)

Answer:
Step-by-step explanation:
The pair of segments on the right tells you the ratio of the segment length above the horizontal line to that below the horizontal line is ...
18 : 6 = 3 : 1
Then x = 3 times 5 = 15.
12 is 3 times y, so y = 4.