The polynomial is
.
Horizontal method:
\Rewrite as the sum of two products.
\
Apply distributive property:
.
(Multiply:
)
Apply distributive property:
.

(Multiply:
)
(Add:
)
The value of 
.
Vertical method:
\Multiply by 3.
\
Multiply by 5a.
\
Combine like terms.
\
Thus, The value of 
.
The value of 
.