i completely forgot how to do these type of problems:

the base of a solid is the region bounded by y=e^(-x), the x-axis, the y-axis, and the line x=1. each cross section perpendicular to the x-axis is a square. find the volume of the solid and keep your answer in terms of e