A certain system uses two-factor authentication. Let the fir…