Be sure to disconnect the battery before connecting the wires. If the colored wires in the diagram are not cut connect them to the slave solenoid as in the diagram.
You will need 2 bolts 1/4” X 20 about 1/2” long to remount the slave solenoid.
Take a cell phone picture of the starter and wires...