The value of x in the triangle is 10 units
Using the concept of similar triangles , we can create a proportional relationship thus ;
Inputting our values into the relation;
12 = 18
x = 15
cross multiply
18x = 15 × 12
18x = 180
x = 180/18
x = 10
Hence, the value of x is 10 units