It wasn't a question. It was mostly a list of things you were told to do.
Don't be put off by the detail - alignment, precision etc - the most important thing you were told to do is "study Java's formatting facilities". If you have a textbook, consult it. Certainly read the
API documentation.
What class or classes are you going to try using? Once you have that sorted out you can begin thinking about each of the formatting styles you were asked to illustrate.
[Edit] And post if you get stuck! As you've realised, nobody here is going to write the code for you (and you haven't asked for that). So it is really important you say precisely what you are going to do (what classes) and where you're at (what code) And ask questions that are as specific as possible (What does "alignment" mean?, What does the following runtime exception mean? etc)