Trim between meshes

Hello!

Is there any way to trim these meshes without having these issues with the triangles?