both triangles are similar because 2 angles are same, only difference is in size.
similarity theorem - 2 angles of one triangle are congruent to 2 angles of another triangle, corresponding sides are in proportional.
24/ 3x+6 = 32/28
24 x 28 = 32 (3x+6)
x = 5