can you please help me with this

are these 2 expression equal?

2(m^2+1) and 3(m^2+1)-(m^2+1)

yes