The shorter base of an isosceles trapezoid is 8 units, the longer base is 20 units, and each non-parallel side is 10 units. What is the altitude of the trapezoid?