You might benefit from reading the mod_rewrite tutorial linked in my signature as it contains explanations and sample code. It’s helped may members and should help you, too.
I have a history of NOT posting code until someone at least makes an attempt. However, let’s say that your pseudo code is “close enough for government work.”
I’m a bit confused that you say you’d like to learn the basics one step at a time but found the long tutorial too much. I tried to “take it one step at a time” and used a LOT of sample code to help the reader along. Okay, this is the first time someone’s not come back with “that’s exactly what I needed” so any comments (other than length, too much information, not precisely the coding samples I need) would be appreciated.