The hexagon with the R is colored red. Each hexagon is colored either red, yellow or green, such that no two hexagons with a common side are colored the same color. In how many different ways can the figure be colored?
Image: https://imgur.com/a/IovCSgs