Hello guys need help,

I am trying to know my car better..recently i faced head gasket blown up situation...i took it to a local machanic.
after all the work i came to know that that *** cut my vtec solenoids both wires (red, green/yellow) which happens to be a 3 stage vtec...

now the problem is i dont know where the wires should go..i have studied alot of its schematics online....but colours confuses me a little. and its getting hard for me to understand it..

my ECU is 37820-P2M-N92.

any help will be much appreciated..