Simple thermostat, need some help with setting temperature

hello iam kinda new to blynk so bear with me

I have a esp8266 attached to a DHT11 reading the temp and humidity onto a history graph, how do I convert the celsius reading to fahrenheit 1.8*C+32=F then send that out to virtual pin 1.

how do I have a slider to set the temperature, then turn on a digital pin once it goes below that set temperature.

thank you for your help I would really appreciate it

//#define BLYNK_PRINT Serial // Comment this out to disable prints and save space
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>

#include <DHT.h>
#include <DHT_U.h>
#include <Adafruit_Sensor.h>

#define DHTPIN 5
#define DHTTYPE DHT11

DHT_Unified dht(DHTPIN, DHTTYPE);

#define VPIN_TEMP V1
#define VPIN_HUMIDITY V2
#define VPIN_UPTIME V5

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = “auth token”;

void setup()
{
_ Serial.begin(9600);_
_ Blynk.begin(auth, “ssid”, “pass”);_

_ dht.begin();_
}

BLYNK_READ(VPIN_TEMP)
{
_ // This command writes DHT11 Temperature to Virtual Pin (1)_
_ sensors_event_t event;_
_ dht.temperature().getEvent(&event);_
_ if (!isnan(event.temperature)) {_
_ Blynk.virtualWrite(VPIN_TEMP, event.temperature);_
_ }_
}

BLYNK_READ(VPIN_HUMIDITY)
{
_ // This command writes DHT11 Temperature to Virtual Pin (1)_
_ sensors_event_t event;_
_ dht.humidity().getEvent(&event);_
_ if (!isnan(event.relative_humidity)) {_
_ Blynk.virtualWrite(VPIN_HUMIDITY, event.relative_humidity);_
_ }_
}

BLYNK_READ(VPIN_UPTIME)
{
_ // This command writes ESP8266’s uptime in seconds to Virtual Pin (5)_
_ Blynk.virtualWrite(VPIN_UPTIME, millis() / 1000);_
}

void loop()
{
_ Blynk.run();_
}