PIRs normally use a closed pair to signal activation, so this can be connected in series with a magnetic contact. This is standard installer practice, where for example a PIR is fitted over a door with a contact.
You need six cores (three pairs) to the PIR (power, signal, tamper) and four...