The triangle and the rectangle have the same area explain why

Answer:
w=2.5
Step-by-step explanation:
this is because to find the area of a triangle you have to multiply base times height divided by 2 therefore if you want the rectangles have the same area of the triangle the with must be 2.5 this way you will get the same area as the triangle
proof
5x6=30/2=15 area of the triangle
2.5x6=15
as you can see the triangle and the rectangle have the same area
therefore the width of the rectangle is 2.5