Let's take this step-by-step:
To understand where to start, we must start by looking at what operation takes precedence:
==> we must look for PEMDAS (look at the image below)
Let's start with the expression within the parentheses:
[tex]3 * (5+4)^2-4^2 \\= 3*9^2-4^2[/tex]
Next, let's work on the exponents:
[tex]3*9^2 - 4^2 \\=3*81-16[/tex]
Now, let's do the multiplication:
[tex]3*81-16\\=243-16[/tex]
Now let's work on any addition/subtraction:
[tex]243-16\\=227[/tex]
Answer: 227