Hi, it looks like you have an older 4-wire system with R-W-Y-G; since
your doesn't have the C-common (blue) wire, you might need to refer to
this link to see if you need one. Otherwise, it's relatively
straightforward: Red-R, Green-G, Yellow-Y, and W...