triangle FGH is similar to triangle DEF. solve for p

Answer:
We get value p=16
Step-by-step explanation:
When triangles are similar, the ratio of corresponding sides is equal.
In the given triangles we have to find value of p
We have the ratio: (Can use ratio of any two sides)
[tex]\frac{HF}{PD} =\frac{GF}{ED}[/tex]
Now, putting values and finding p
[tex]\frac{12}{p}=\frac{24}{32}\\Cross\:Multiply\\12\times 32 = 24 p\\p=\frac{384}{24}\\p= 16[/tex]
So, we get value p=16