HELP!) Servo Controlled by Tilt Sensor

Hi everyone,

I’m trying to build a servo device controlled by a tilt sensor.

I made it work following the book and the code here:

But I wanted to switch to a tiny breadboard for its size. (Please see attached image)
Since I don’t have the power rails on the breadboard anymore, I’m such a novice to know how to connect anymore.

Can anyone help me with this, please…

Thank you so much!

ojy377@gmail.com

Plug all of the grounds into one vertical row and all 5V leads into a different vertical row. In other words, use a vertical row as a power or ground rail.