the given can be listed as 


mass of earth , m = 6 x 10²⁴ kg.

distance between sun and earth is r = 1.5x 10¹¹ m

gravitational force F = 3.5 x 10²² N



To find, mass of sun , M = ?


Solution - 


Using Newtons law of gravitation we have ,