I'm going to the library, so I'll return your books for you while I'm at it.
Tips
usage
Used to add a small task onto something you're already doing — close to English 'while you're at it' or 'on the way'. Synonym: 顺便 (shùnbiàn), which is more common in everyday speech.