Sounds like you should have started on your homework assignment much earlier.
1. Print the document
2. Place the printed document on a scanner bed
3. Launch a graphics application with scanning capability (Photoshop, Gimp, etc.)
4. Scan the document
5. Save the resulting scan as *.jpg
Clock is ticking.................