hello
from the first interval you’re given, you can see the slope is 1, and if you were to extend that line you would get the y-intercept to be 3
the second interval given you can see that every point will have the y-value as 5
so for your first blank it should be x+3 and your second blank should be 5
hope this helps
let me know if you got confused on anything and i will do my best to help
have a nice day :)