The shape of the cross section of a canal is a trapezium. If the canal is 10 m wide at the top, 6 m wide at the bottom and the area of its cross section is 640 m2, find the depth of the canal.