There's no cookie cutter answer.
It depends on what lights are on when you get there.
Here's a java script table, use a 3x3 table and select which lights are currently on. Select Solve and use the answer shown to achieve the quest.
After an hour of trying this worked like a charm
Click edit make the dots the right color for the lights that are on, hit solve
Follow the pattern it gives you in a clockwise rotation