Creating a "composite" symbol

Of course it is done by using lines and polygons. But you can also copy from other symbols. See my tutorial about symbol creation for more details: Tutorial: How to make a symbol (KiCad v5.1.x)