Pulley Interview Question

Take home assignment do your own.