Solve the system of linear equations using either substitution or the elimination method.
y = 3x +5
X+y=1