Take a piece of grid paper and write down the pattern you want to print.
Look at each line and see what is printed on that line. Count the spaces around the *s.

Since the print & println work...