GPS using arduino MEGA 2560

Morning guys

I am new at Arduino and I am required to write a code in order to map out a race track using a GPS receiver (GTPA010). Can I please get some assistance with where to start because I am struggling to even write a simple "current location detection" code.

Thanx in advance

Can I please get some assistance with where to start

As the caterpillar says, in Alice in Wonderland, "start at the beginning, and when you get to the end, stop".

You might start with posting a link to the GPS you have. You might then describe how the GPS is connected to the Arduino. You might then try the TinyGPS library and one or more of it's examples.

I am required to write a code in order to map out a race track using a GPS receiver

Required by whom? If this is for school, why weren't you paying attention in class?