input: Write a python function to create an instance of NewClass, call method1, and then call method2 with a parameter.
  assert create_and_use_newclass(1, 2, 'test') == 'expected_result'
output: def create_and_use_newclass(param1, param2, param3):
      class NewClass:
          def __init__(self, val1, val2):
              self.val1 = val1
              self.val2 = val2
  
          def method1(self):
              return f'{self.val1} and {self.val2}'
  
          def method2(self, param):
              return f'{self.val1} and {self.val2} with {param}'
  
      instance = NewClass(param1, param2)
      instance.method1()
      return instance.method2(param3)