'distance Sensor' was not declared in this scope

How can I fix this please help??? What am I doing wwrong here?? Please help.

waterLevel:182: error: expected constructor, destructor, or type conversion before string constant

UltraSonicDistanceSensor "distanceSensor(D1,D2)"; //D1 trig, D2=echo

^

C:\Users\Syedul Bashar\Desktop\Tank\esp8266-waterLevel-master\waterLevel\waterLevel.ino: In function 'void measure_Volume()':

waterLevel:243: error: 'distanceSensor' was not declared in this scope

float heightInch=0.393701*distanceSensor.measureDistanceCm();

^
Using library ESP8266WiFi at version 1.0 in folder: C:\Users\Syedul Bashar\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.0-beta2\libraries\ESP8266WiFi
Using library arduino-lib-hc-sr04-master at version 1.0.0 in folder: M:\Arduino\libraries\arduino-lib-hc-sr04-master
Using library ESP8266WebServer at version 1.0 in folder: C:\Users\Syedul Bashar\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.0-beta2\libraries\ESP8266WebServer
Using library Adafruit_MQTT_Library-master at version 0.20.3 in folder: M:\Arduino\libraries\Adafruit_MQTT_Library-master
exit status 1
expected constructor, destructor, or type conversion before string constant

When declaring variables (objects), you don't put them in quotes

UltraSonicDistanceSensor distanceSensor(D1,D2);  //D1 trig, D2=echo

blh64:
When declaring variables (objects), you don't put them in quotes

UltraSonicDistanceSensor distanceSensor(D1,D2);  //D1 trig, D2=echo

What should be the correct code. I am new to all these, please help.

What is the difference between what I posted and what you posted? Yours had quotes, mine did not. I have already provided you with the correct code. Give it a try. See if it works. If you want somebody to write code for you, hire a programmer.

blh64:
What is the difference between what I posted and what you posted? Yours had quotes, mine did not. I have already provided you with the correct code. Give it a try. See if it works. If you want somebody to write code for you, hire a programmer.

I have already done that before and it still doesn't work.
Bro hiring someone will not help me learn and solve the problem. I am seeking help.

Here is the link to the full code
https://drive.google.com/file/d/1i7hXHfR9U9sa0vtySX6UalqzeaLfMJiC/view?usp=sharing

Please post your code here, in code tags.

I have attached the code here sorry I should have done this earlier.

tank plain code.txt (10.9 KB)

#include "distanceSensor" distanceSensor(5,4);  //D1 trig, D2=echo
[code]
 
This line was modified and now it seems to remove the error.