Welcome to EP!
Actually, penlite (AA?) cells have a greater life than a 9V battery (PP3?). You would need to connect the two alarms in parallel, so the load current for the 9V battery would be 2c, i.e. twice the load current 'c' that one alarm draws. Dropping from 9V to 3V at 2c load current...