ggplot2 builds a chart in layers. ggplot(rides, aes(x = distance_km, y = minutes)) says which table to use and maps its columns to the chart's aesthetics, the things a mark can show: position, color, size, shape. Then + geom_point() adds a layer that draws one point per row.
Store a chart in an object, p <- ggplot(...) + geom_point(), and print it by typing p; it appears in the Plots pane. The + must end a line, not start the next.
Inside aes() you map a column: aes(colour = member) colors points by membership and adds a legend. A fixed color goes outside: geom_point(colour = "steelblue"). Rows with a missing x or y can't be placed, so ggplot2 leaves them out and says so in a warning.
Data, aesthetics mapped inside aes(), one layer of points, then print.