This article is about GeoGebra command.
f(x) = 3x² + 2
text1 = "f(x) = 3x + 1"
ParseToFunction[f(x), text1]