Derivation of Words With Exercises on P