The blue wire goes to a amp if you are running one blue is remote turn on for you're amp I wouldn't worry about this if you have no amp it is not needed. The yellow memory wire goes to the BAT wire from you're car or the always on wire.
BLUE = AMP
YELLOW= battery
RED = ignition
Just forget about the blue wire hook up yellow wire to the car battery wire and hook the red stereo wire to you're acc wire.
if you put the red to battery the stereo will always turn on with out a key and if you don't hook up the memory you're stereo will always lose the settings you have when ever you turn off the ignition.