Deductions & credits

how is this earned calculated is my question?  it is not w2 income and I was told there is formula used by the irs