if you look at your variable, you cannot declare as "volume of box", "volume of cylinder", and "3.14", in all volume of box or volume of cylinder has space on it, declare it without the spaces then it should be fine, and also you cannot declare like 3.14 number, that's a number not variable, you can declare some variable then initilize it as 3.14, but there's no need to declare 3.14 because it's already a number, declare a variable and initialize that variable as 3.14, then that will make sense. For example -> double Pie = 3.14;
and also you cannot declare any variable as reserve word or with symbols which are shown in your error, if you look at your error, don't use those symbol when you declare a variable and don't use reserve word like "for, class, public, private, String, double, float etc..) are reserve word, if you really want to use these word put some number at the end or more word then it will not be same as reserve word, these reserve word means it already reserved in java to perform some other action, For example: public is a reserve word in java, if you look at your code, you started with public class Volumes, if you look in this line it's using public class words to declare your class, so java has like this many reserve words, so you cannot declare a variable with these reserve words, you will have to name to something else in order to declare, so mainly all your errors are for variable, so just switch your variable name so you won't use reserve word, and if you didn't use any reserve word, then just take out the space between the variable, because when you declare a variable it cannot have any space between the words, and rather than declare the number as 3.14, declare a variable and initilize the variable with the number, then i think it should work fine.
Hope this helps