Convert the volume function for flat cars, which you were asked to devise in Segment 158, into a member function.
volume