Honestly it's hard to predict what value r2 and r4 have without knowing the part number of the pwm ICs.
PWM - Pulse Width Modulation for DC Motor Speed and LED Brightness - Robot Room this website points to a 10k pot for both r2 and r4 but says you need two diodes to vary the on and off times.
Since the IC on the right appears to be for varying the duty cycle and there is only one diode in the optoisolator I would wire another diode in opposite direction in parallel to the optoisolator diode. as per the circuit in that link. Hook the wiper to the pwm ic to replace the resistor in circuit and each other leg goes to each diode.
If you examine the circuit in that link you can see there are several 0.1uf 104 caps missing from your circuit also which it will not function without.
If you examine this link
How to Make a Simple IC 555 PWM Circuit you can see that the pwm IC on the left is set up as an astable multivibrator and the ic on the right is a PWM so I would build those circuits first and then worry about integrating the design in to your circuit or download the datasheet for what you have and build both circuits from the examples listed.