Write the definition of a method twice, which receives an integer parameter and returns an integer that is twice the value of the parameter.