This person wrote the question wrong. There is no g, it's "The star is about 5 x 10^9 AU from the centre..." The answer is 4.47 x 10^41 kg :)
- convert the velocity to m/s
-use the formula m=(v^2*r)/G
-multiply the star's radius with the Earth's orbital radius then convert to m
then plug...