How to decide what your salary should be if you leave self employed to return to a company

[removed]