Answers: x = 4 and y = 3
============================================================
Explanation:
Triangle UBD is congruent to triangle RAN
Note the order of the lettering as it's important.
BD and AN are the last two letters of UBD and RAN in that order. Therefore, these sides correspond and BD = AN. From that, we know,
BD = AN
2y+5 = 3y+2
5-2 = 3y-2y
3 = 1y
y = 3
-----------
Using similar logic, UD and RN are the first and last letters of UBD and RAN respectively. So,
UD = RN
15 = 2x+7
2x+7 = 15
2x = 15-7
2x = 8
x = 8/2
x = 4