I have been working for an organization for the last 6 years. However, my primary employment was with two different agencies for 4 years, and with the principal employer for 2 years. Now that I am resigning from the organization, kindly guide me on whether I am eligible to claim gratuity from the principal employer (with whom I spent a total of 6 years).