Sounds like a job for whatever is the equivalent of Google Sheets or PowerPoint in LibreOffice. I think it’s called Impress.
You can just put the answer on the next page. Or cheat and make it seem like the answer is below the question and blurred out but it’s actually just the unblurred version on the next slide.