Your goal is to color the squares to match the X's.

To color a row or column, tap a color to select it, then tap next to the row or column to color it in.