Start by creating a variable for the miles.

Make sure you add var miles; in your code.