Soil moisture gives wrong value

im trying to combine the 2 codes to make one so i can see on the blynk app what i see in the monitor… but i keep getting name types that dosent exist…
please help me … i know that for you guys will take you not even a minute…is now a week im working on this stuff.
i want to understand my im very new at it… need assistance.