Well the simple answer would be just run it and see
The tips would be:
to_s will turn the number into a string where by * will now return 2 lots of the string concatenated together
to_i turns the string above back into an integer
as the int will end in 0 it will be evenly divisible by 2 so you should end up with a whole number