If you want to align it with the last vertex, choose that vertex alone, then press shift+s, choose “Cursor to Selection” then change your pivot to the cursor by pressing the period key. Then select all your vertices and do the scaling bit that ridix describes.
To get out of using the cursor as pivot press the comma key.