Take them one at a time.
The error that says int cannot be dereferenced means that you're trying to use the dot operator on an int, which is a primitive. Think about exactly what you're trying to do; there is a simpler way than trying to call a method on a primitive.
The errors about incompatible types means that you're trying to store a String value in an int variable, or an int value in a String value, or something similar. There are functions in the String and Integer classes that might help with conversions.
Also, fix your indentations, which should help you match up parenthesis.