You have two medium bends in the wrong location.
From the wye, continue to the other side of the stud, and work backwards to the lav. You're trying to be too cute there, and you've run out of space.
Bends on the horizontal need to be 45's and long turns.
Bends from vertical to horizontal need to be 45's and long turns too.
The only bend that works there is the horizontal to vertical, which can be medium.