Check the picture below.
something worth noticing 
so, we're really graphing x+2, with a hole at x = 3, however, when x = 3, we know that f(x) = 5, but but but, when x = 3, x+2 = 5, so we end up with a continuous line all the way, x ∈ ℝ, because the "hole" from the first subfunction, gets closed off by the second subfunction in the piece-wise.
Answer:
A)You will earn $20311.62 as interest if you deposit $23750 into an investment account for 8 years.
B) The annual interest rate to you charge Vinny in order to make the same amount of interest on his loan as your investment account is 10.69%
Step-by-step explanation:
We are given that Your cousin Vinny wants to borrow $23750. He’s willing to pay you back over 8 years with simple interest.
Your alternative is to invest in the $23750 into an account paying 7.75% compounded monthly.
a)How much interest would you earn in your investment if you deposit $23750 into an investment account for 8 years?
Principal = 23750
Rate of interest = 7.75%
No. of compounds per year = 12
Time = 8 years
Formula : 
Where A is the amount
P is the principal
r = rate of interest
n = No. of compounds
t = time
Substitute the value sin the formula :

A=44061.6163406
Interest = Amount - Principal
Interest = 44061.6163406-23750
Interest =20311.62
You will earn $20311.62 as interest if you deposit $23750 into an investment account for 8 years.
B)What annual interest rate to you charge Vinny in order to make the same amount of interest on his loan as your investment account
Principal = 23750
Simple interest =

Hence The annual interest rate to you charge Vinny in order to make the same amount of interest on his loan as your investment account is 10.69%
I think the answer is Sample 4.
Hope this helps!
Answer: 95 adult tickets and 40 child tickets were sold.
Step-by-step explanation:
Let x represent the number of adult tickets that were sold.
Let y represent the number of child tickets that were sold.
The cost of an adult ticket is $12 and the cost of a child ticket is $5.
The ball game sold $1,340 in tickets one Saturday. It means that
12x + 5y = 1340- - - - - - - - - - 1
The number of $12 adult tickets was 15 more than twice the number of $5 child tickets. It means that
x = 2y + 15
Substituting x = 2y + 15 into equation 1, it becomes
12(2y + 15) + 5y = 1340
24y + 180 + 5y = 1340
24y + 5y = 1340 - 180
29y = 1160
y = 1160/29
y = 40
x = 2y + 15 = 2 × 40 + 15
x = 95