Can anyone help me out on this question?

Firstly , we will check continuity at x=1
we can use method
Suppose, f(x) is continuous at x=c
then it must satisfy
[tex] \lim_{x \to c} f(x)=f(c) [/tex]
[tex] \lim_{x \to 1} f(x)=f(1) [/tex]
firstly , we can find limit
[tex] \lim_{x \to 1-} f(x)= \lim_{x \to 1-}(x+3)=1+3=4 [/tex]
[tex] \lim_{x \to 1+} f(x)= \lim_{x \to 1-}(3x+1)=3*1+1=4 [/tex]
so, we get
[tex] \lim_{x \to 1} f(x)= 4 [/tex]
now, we can find f(1)
[tex] f(1)=3*1+1=4 [/tex]
so, we got
[tex] \lim_{x \to 1} f(x)=f(1) =4 [/tex]
so, this is continuous at x=1
Hence , option-D...........................Answer