The primary tenant's additional income will be reported to the Internal Revenue Service using Form “Schedule E (Form 1040 or 1040-SR), Supplemental Income and Loss”.  At the beginning of the rent, the security deposit given by the subtenant should also be reported. These are then typically adjusted when lease terms end and deposits are returned.