Use the “Get Temperature” and “Get Soil Moisture” blocks to read the values. Use conditional statements to check if the temperature is above a certain threshold and if the soil moisture level is below a certain threshold. If both conditions are true, use the “Pan and Tilt Motor” block to adjust the motor accordingly.