You cannot.
First, rectangular is an adjective and there is no associated noun so the question does not specify whether it is about a rectangular pyramid, a rectangular bipyramid, a rectangular prism or some other rectangular figure.
Second, in order to find the weight of an object, you need the volume of the shape, the density of its material and the local force of gravity. The volume of the shape requires length and width as well as the height so the available information is hopelessly inadequate.
Density is weight divided by volume. In the case of a rectangular solid, volume is length times width times height.
To calculate the volume of a rectangular solid, you multiply its length, width, and height together. The formula is: Volume = Length × Width × Height. If you provide the dimensions of the rectangular solid, I can help you calculate the specific volume.
It is length * width * height.
It is 2*(Length*Breadth + Breadth*Height + Height*Length).
Height x Weight x Height
Height x Weight x Height
Height x Weight x Height
length x width x height
You multiply its density by its volume.
It is length*width*height - in suitable measurement units.
It is length * breadth * height.
Volume = Length * Width * Height.