Line 3 you have an x instead of a 1?
I'm not very good with pascal so I'm unsure.
Programming in general too lol