Question 779030
Simply substitute the given input numbers, and evaluate to the extent possible.  #1 is trivial.
'
#2 is, {{{(a-3)^2+2(a-3)+7}}} and just needs to be simplified;
{{{a^2-6a+9+2a-6+7}}}
{{{a^2-4a-16}}}