Please help me with these 2

Okay, so I posted the answer to the first one already :)) aaaand the second one, in order of blanks, should beeeee
3, 1
100, 1000
30, 1
:) I hope it makes sense!!
[tex] \bf ~\hspace{10em}0.031 \\\\[-0.35em] \rule{34em}{0.25pt}\\\\ \boxed{3}\times \cfrac{1}{100}+\boxed{1}\times \cfrac{1}{1000}\implies \cfrac{3}{100} + \cfrac{1}{100} \\\\\\ \stackrel{\textit{added 0 to top/bottom}}{\cfrac{30}{1000}}+\cfrac{1}{1000}\implies \cfrac{31}{1000} [/tex]