x = 0.9 * y

0.9 * y + y = 20
1.9 * y = 20
y = 20/1.9
y = 200/19

x = 0.9 * 200/19
x = 180/19