please help with my project since i do not want to fail

first i read the forum, and my line for inches is

inches = duration / 74 / 2;

why does it say that i did not declare it?