Choose Mirror when the other Mac is the task
Extend mode gives your current Mac more workspace. Mirror mode is different: it brings the other Mac's existing display to your current screen.
Mirror mode does not provide remote input. Use the keyboard and mouse connected to the Mac being mirrored while viewing its screen on the other Mac.