Couldn't you do a two-way anova? You would need to pivot your data.
Also, you should provide a reproducible example rather than a screenshot.