Answer: w=2.5
Step-by-step explanation:
Since both the triangle and rectangle have the same area, we can say that
[tex]\frac{1}{2}*6*5=w*6[/tex]
Following this,
[tex]\frac{1}{2}*6*5=w*6\\ 15=6w\\w=\frac{15}{6}\\w= 2.5[/tex]