I would use Calculus. Taking the origin of a 3D coordinate system at the lower left front side, the lower front line is x= t, y= 0, z= 0, t going from 0 to 6. The upper front line goes from (0, 0, .2) to (6, 0, .5) so is given by x= t, y= 0, z= 0.2+ 0.05t, t going from 0 to 6 . The back edge is x= t, y= 4, z= 0, t going from 0 to 6.
If we "slice" the object perpendicular to the x-axis, the cut faces are triangles with height 0.2+ 0.05 t and width 4 so area (1/2)(0.2+ 0.05t)(4)= 0.4+ 0.1t. Taking the thickness to be "dt", the volume of each slice is (0.4+ 0.1t)dt so the volume of the object is
∫06(0.4+0.1t)dt=[0.4t+0.05t2]06=0.4(6)+0.05(36)=2.4+1.8=4.2 cubic meters as Jasonmcbride said in post #4.