Penta colour

In how many different ways can I colour the five edges of a pentagon so that no two adjacent edges are the same colour?

Problem

In how many different ways can I colour the five edges of a pentagon red, blue and green so that no two adjacent edges are the same colour?

Image
Penta Colour