In both case, if the derailleur does not move fully into the extreme gear, the limit screw must be loosened.…