Noob in need of help

I’m trying to install a sub and amp and I understand pretty much everything except which of these wires are speaker wires and where I’m going to put the on and off wire for the amp (blue wire). Could someone help me understand what the different wires do?