Two rectangles have equal areas. If the base and altitude of one rectangle is 12cm and 8cm, and the base of the other is 16cm, what is the altitude of the second rectangle?