On the motors, first determine which wires make the coil pairs. They may be marked on the motors, if not an ohm meter will quickly determine it.
You will have 2 coils, let's call them A and B. Then on the driver you'll see the A+ and A- / B+ and B- outputs, it doesn't matter which way you hook these up or to which pair - all that is important is that the coils are placed across the A or B outputs.
For the laser, that connector should be a 5.5mm dc jack and likely 12V input to the laser driver. Usually you would connect the TTL + / GND to your controller, but the CNC shield is old and I believe it uses D12 for the "spindle" which doesn't support PWM (TTL). You can use the Z-axis limit switch pin as that's D11 which on the later firmware is the "spindle" PWM/TTL output.