The perimeter of two similar triangles △ABC and △DEF are 36 cm and 24 cm respectively. If DE=10 cm, then AB is :