A triangle & a rect. have the same area. the base of the triangle is 12 ft & the height is 5 ft. If the rect. has a length of 10 ft, what is the rectangle width. This one is confusing, can someone help me please

Area of triangle = bh/2

A = (12 * 5)/2
A = 30 square feet

Area of rectangle = lw
30 = 10w

Solve for w.