Issues with merging basic control sketch with line tracking sketch.

I did follow how to use this forum, I put the sketches in a word doc highlighting the changes so i could upload them for other posters convenience. Its says to, "try not to post a lot of code." As I stated I'm new to this. I try to figure things out before I ask. I have been beating my brain on this project for over 24 hours. I tried to find examples of code and what not. Everything I found doesn't really show what Im trying to do. Most examples are for specific robots with one feature and don't explain the process of merging different functionality into one sketch. I got this project as a gift because I just had a full wrist fusion and can't go back to work for 6 months. I really didn't want to post. I have never used forums before. I tried searching the forum here but couldn't find anything. I find it discouraging that when I try to ask for help I get flak for being new. You "slipstick" posted earlier on another question which gave me an idea of what i needed to do and i figured it out. Thanks for that, but be a little more forgiving for the new guys. I want to learn and this robot project seems like a good place to start. Maybe a Little complicated for a "noob". I thought I did well to figure out what i was trying to do earlier in the day considering its all new to me.