programming different sensors

the compnents
1- Arduino Uno
2- Two temperature sensors, type DS18B20.
3- Two flowmeter sensors type YF-S201.
Required
1- Programming the first temperature sensor, and when the temperature reaches 60 degrees, pin No. 5 is lit for 10 minutes, then pin No. 5 is turned off for a period of minutes, and pin No. 6 is lit for three minutes, then it is turned off
2- Programming the first flowmeter sensor to light up pin 7, and when the volume reaches 50 ml, the pin is turned off.
3- Programming the second flowmeter sensor to light up pin 8, and when the volume reaches 50 ml, the pin is turned off.
4- Programming the second temperature sensor, and when the temperature reaches 45 degrees, pin No. 9 is lit for 10 minutes, after which the pin is turned off.
I would be grateful if you could complete the programming for me