there are many, many mistakes here:
int = 2;this is not valid, you provide a type and a value, but no variable name, an acceptable replacement could be:
int i = 2;, though i am unsure why this line is there.
CODE
square = twicethenumber;
cubed = threetimesthenumber;
I don't know what this is... none of these 4 items are defined anywhere, so the assignment is not allowed, nor is there use at all. Are these variables, methods..?
I assume you were looking for something like:
CODE
int square = square(i);
int cubed = cubed(i);
your logic within your methods is wrong as well:
square: (you spelled public as pulbic in this declaration as well)
CODE
public static int square(int number)
{
System.out.println("The square is " + number*number);
}
I'll leave it to you, to fix your cubed method.