the line y = Bx+2 goes through (3,10)
If y=Bx+2 goes through (3,10), we can plug 3 for x, and 10 for y:
Doing that, we have: 10=3B+2
3B=8,B=83