If the horizontal force needed to move the top block is at least 12 N, we can calculate the static coefficient of friction with the formula below:
![\begin{gathered} F_(friction)=F_(normal)\cdot\mu_s\\ \\ 12=m\cdot g\cdot\mu_s\\ \\ 12=4\cdot10\cdot\mu_s\\ \\ \mu_s=(12)/(40)\\ \\ \mu_s=0.3 \end{gathered}](https://img.qammunity.org/2023/formulas/physics/college/x0d9u98rvoogn5qna1wlko1fv711p9nhp2.png)
(a)
Let's draw the force diagram of the system:
Using the second law of Newton for the complete system (considering the two blocks as one big block), we have:
![\begin{gathered} F=m\cdot a\\ \\ F_(applied)=(4+5)\cdot a\\ \\ a=(F_(applied))/(9) \end{gathered}](https://img.qammunity.org/2023/formulas/physics/college/jvtd5z1guhdd0n1cbmnofxwdwgywycpk0f.png)
Now, for the top block, we have:
![\begin{gathered} F=m\cdot a\\ \\ F_(applied)-F_(friction)=4\cdot a\\ \\ F_(applied)-12=(4)/(9)F_(applied)\\ \\ (5)/(9)F_(applied)=12\\ \\ F_(applied)=12\cdot(9)/(5)\\ \\ F_(applied)=21.6\text{ N} \end{gathered}](https://img.qammunity.org/2023/formulas/physics/college/u3kdfpk1k61d1lq15wf8kwd2346ln03fqz.png)
(b)
The resulting acceleration will be: