I wanted to know if I got the first one right And how to do the second one

Numbers of marbles picked = 4
Number of blue marbles picked = 1
Number of blue marbles in the jar = 100;
Let the total number of marbles in the jar be x;
Then;
[tex]\begin{gathered} \frac{1}{4}\text{ of x =100} \\ x=4\times100 \\ x=400\text{ marbles} \end{gathered}[/tex]There are 400 marbles total.