Actually Welcome to the concept of ratios.
Since the above ratios are equal to each other, we get value of x as,
==> 3/12 = 5/x
==> x = 12*5 / 3
==> x = 60/3
==> x = 20
hence the value of x = 20.
3.6m questions
4.6m answers