The answer is very simple
The federal tax rate is the relation between federal tax and the adjusted grooss income
[tex]\text{federal tax rate = }\frac{2475}{16500}=0.15[/tex]and the federal tax for 31000 is
[tex]\text{federal tax = 31000}\cdot0.15=4650[/tex]That is the solution.