The gray wire in the top drawing is the same as the second white wire in the bottom schematic.
Each white wire drives the trim servo in or out. You can test using a 9 volt battery to ensure you have the correct travel direction / polarity.
2 - ORN
3 - GRN
6 - BLU
5 - WHITE
4 - GREY
So the the connector is like that:
......
and just curious why the notation says WHY/BLU , WHY/ORN
what does it mean?