Problem

Source: 2022 Korea Winter Program Practice Test

Tags:



Determine all functions $f:\mathbb{R} \rightarrow \mathbb{R}$ such that $$f(f(x)-9f(y))=(x+3y)^2f(x-3y)$$for all $x,y\in \mathbb{R}$.