What is the perimeter of the isosceles triangle shown below?
A. 24 units
B. 18 units
C. 21 units
D. 12 units