You are only typing what the value of X should be?

[tex]\mathfrak{\huge{\orange{\underline{\underline{AnSwEr:-}}}}}[/tex]
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.