Arm Interview Question

Regarding my project. Semaphores and Mutex.