Make a 2 inch line at 45 degrees.

How: Click the line tool once on the canvas.

Make the following shapes.

How: Select the tool, click on the canvas, and make the correct settings.

Make a 100 x 100 pixel box with a 9 pixel corner radius

How: Click the line tool once on the canvas.

  

Make the following shapes:

How: Select the correct tool, click the line tool once on the canvas, and apply the settings.