The width of it is 4cm

The area of the whole rectangle is 24 square cm and the height of the triangle is 6 cm.
A rectangle is a type of quadrilateral that has its parallel sides equal to each other and all the four vertices are equal to 90 degrees.
Given that:
The given figure has divided into 2 triangles one is a striped blue triangle and the other is a striped green triangle.
To find out the length and area of a rectangle.
Area of triangle = 1/2(base)(height)
Width of rectangle = 4 cm
Area of striped blue triangle = 12 square cm
1/2(base)(height) =12
1/2(4)height = 12
Height =6 cm
(b) Height = 6 cm
Height of triangle=length of the rectangle
Area of rectangle = lengthxbreadth
Area of the whole rectangle = 6x4
(a) Area of whole rectangle=24 square cm
Therefore, the area of the whole rectangle is 24 square cm and the height of the triangle is 6 cm.
Learn more about rectangles here:
https://brainly.com/question/28186939
#SPJ1