Here is the tutorial.
Start SolidWorks in Part mode.
Top plane>>sketch. Draw a circle.
Make a profile like this.
Extrude cut it.
Now select circular pattern under features tab.
Now i have enable the view of temporary axis in view menu. This saved me time from creating axis since there is virtually an axis. Now select the cut-extrude1 as the feature to pattern.
Click OK and we have the Spur gear made.