<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def speed_convert_units(self, val_ms):
        '''return a speed in configured units'''
        if self.settings.speed_unit == 'knots':
            return val_ms * 1.94384
        elif self.settings.speed_unit == 'mph':
            return val_ms * 2.23694
        return val_ms