You can't have anything following a "return". Once a method executes a return it is no longer in the method and if there was anything after the return it would be ignored.
You are trying to return two values. Java only allows the return of one value so the best way to do that is to make a small class to hold all the values you need to return.
An alternative in your case might be to return an array of two ints.
Please UseCodeTags (<-link) when posting code to this site.