What's the concept of letters in math?

No.13365334 ViewReplyOriginalReport
I'm an IT technician who ran into game programming. I need math before I can dive into algorithms but I don't understand x. 3 + x = 7. X is 4 because I tried 1 to 4. I also subtract 3 on both sides so what's left is x = 4, but still I find it hard to understand it.