geometry - The steps to rotating a shape on a graph.

Could somebody please write the steps to rotating a graph by a given #°