Problem

ALG-B3-M03-P016 Affineness from two rules

#16 Grade 10 Grade 11 ★★★★★ Level 5 of 5

Let \(f:\mathbb Q\to\mathbb Q\), \(f(x+y)=f(x)+f(y)-f(0)\), and \(f(3x)=3f(x)-4\). Find \(f\).