Find the length of the variable X

Answer:
D
Step-by-step explanation:
the two triangles are similar so the proportion of similarity is equal to 3/12=1/4=>x/x+12=1/4=>4x=x+12=>x=4