Lurker is quite right that this is NOT a simple substitution code. I seriously doubt that any of us could help you, even if we wanted to.
What teacher?? What class?
We're mostly a bunch of pretty nice folks who love to help when we can, but that's not always possible.