Again, check if two colours will suffice. You will notice that this is not possible. Since there is an odd number of triangular faces on each pyramid, the fifth face cannot be of the same colour as the first or the fourth.
Check if three colours suffice. You will realise that this is correct.