Hi friend,
The objective is to divide $20 in 2:3 ratio.
One part be 2x, another part is 3x
Sum of them = 20
2x + 3x = 20
5x = 20
x=4
So therefore one part must be 2x = 2 x 4 = 8
Another part = 3x = 3 x 4 = 12
Hence it is divided in 2:3 ratio.
Hope my answer is helpful to u. :)