Boolean

Select the two shapes, and then then either,  Mesh > Booleans >   Union or Difference or Intersection

Select all of the shapes and delete history .  Edit > Delete by Type History.

Mesh > Remesh

Mesh > Retopologize