The last one is a jack plug for connection to mapping program. (comms port)
Now the other one this is going to be difficult because the t2 only has three outputs and they can bea number of things so I couldn't tell you what exactly is in that plug without pinning it out.
The three relays I imagine will be fuel pump, ignition relay and poss water injection but the last one could be a couple of things.
Do you know who built the loom or supplied the ecu? As you would be best to get a loom pin out and know what outputs the t2 is configured for