This is the HW4 description, and this is a sample transformation file..
Below are screengrabs of the PDF pages in the link above..