Figure A represents racemose inflorescence in which the main axis continues to grow and the flowers are borne laterally in an acropetal succession.
Figure B represents cymose inflorescence in which the main axis terminates in a flower, limiting the growth and the flowers are arranged in a basipetal order.