Answer:
Ryan volunteered 34 hours
Step-by-step explanation:
Let
x ----> the number of Ryan's hours
y ----> the number of Maddie's hours
we know that
[tex]x+y=45[/tex] -----> equation A
[tex]x=3y+1[/tex] ----> equation B
substitute equation B in equation A and solve for y
[tex]3y+1+y=45\\4y=45-1\\y=44/4\\y=11\ hours[/tex]
Find the value of x
[tex]x=3(11)+1\\x=34\ hours[/tex]
therefore
Ryan volunteered 34 hours