adds two figures