Seja f uma função do 1° grau real de variável real, definida por f(x) = ax + b. Se f(1) = 4 e f(2) = 7, calcule o valor de a3 + b3.