.
Let "u" be the rate of the canoe in still water (in miles per hour),
and let "v" be the rate of the current.
Then the effective speed canoeing upstream is
    u - v =  = 4   miles per hour   (1)
while the effective speed canoeing downstream is 
    u + v =  = 8   miles per hour (2)
Thus you have this system of two equations in 2 unknowns
    u - v = 4,      (1')
    u + v = 8.      (2')
To solve the system, add the equations (1') and (2').  You will get
    2u = 4 + 8 = 12,   which implies  u = 12/2 = 6 miles per hour.
Thus the rate of the canoe in still water is 12 miles per hour.
The from equation (2') ,  v = 8-u = 8-6 = 2.
Thus the rate of the current is 2 miles per hour.
Solved.
-------------------
It is a typical and standard Upstream and Downstream round trip word problem.
You can find many similar fully solved problems on upstream and downstream round trips with detailed solutions in lessons 
    - Wind and Current problems 
    - More problems on upstream and downstream round trips 
    - Wind and Current problems solvable by quadratic equations 
    - Unpowered raft floating downstream along a river
    - Selected problems from the archive on the boat floating Upstream and Downstream 
in this site, where you will find other similar solved problems with detailed explanations.
Read them attentively and learn how to solve this type of problems once and for all.
Also,  you have this free of charge online textbook in ALGEBRA-I in this site
    - ALGEBRA-I - YOUR ONLINE TEXTBOOK.
The referred lessons are the part of this textbook under the section "Word problems",  the topic "Travel and Distance problems".
Save the link to this online textbook together with its description
Free of charge online textbook in ALGEBRA-I
https://www.algebra.com/algebra/homework/quadratic/lessons/ALGEBRA-I-YOUR-ONLINE-TEXTBOOK.lesson
to your archive and use it when it is needed.