How does one use the define f(x) for more than one function?

I’m using Wolfram/Alpha for my son’s Algebra 1 lesson on the Language of Functions. His book tells him to:

“1a. Use the DEFINE command to define f(x)=3x^2+2x+10 in your CAS.
b. Find f(2).
c. Find f(3) + f(-6)”

When I type it in like this: define f(x)=3x^2+2x+10 find f(2). It calculates properly.

How do I get it to “Find f(3) + f(-6)” in one step?

Thank you.

f(x)=3x^2+2x+10 , find f(2)
f(x)=3x^2+2x+10 , find f(3)+f(-6)

both seem to work fine, for example. define is not needed.

The reference to “Use the DEFINE command” in the assignment sort of suggests that the authors of the book had a specific computer algebra program in mind… There will be more things you’ll have to adjust if you’re using a different one like Wolfram|Alpha.

Thank you both. @ Bianca, I’m sure you are correct.

Does WolframAlpha have a tutorial or help section for a high school student to understand better the commands and codes?

Wolfram|Alpha isn’t a programming language. There are no commands and the input isn’t code.

To get a hang of how to use Wolfram|Alpha, take a look at the example pages, which are very thorough.

OK, thank you.