arduino UNO+xbee+gps help

Hi everyone i am an electrical engineer specialized in power therefore i need your help in programming arduino to transmit NMEA sentence wirelessly using 2 xbee's i have the following components right now: 2 xbee series 1 arduino uno adafruite ultimate gps xbee explorer

i assume that in the transmitter side i have to connect the gps to xbee and power it up using 9v battery

in the receiver side the other xbee is connected to the arduino and the arduino connected to the computer using usb cable configuring the xbees is gonna be done using x-ctu software

so is my assumption right ? and could you please give me the code of the arduino to display the NMEA sentence on the serial monitor

i have zero experience in programming arduino and a help would really save my life :(