Pls help me so much it would be great I’m begging you plz help me it’s an emergency plz help me plz

Yes they both are equivalent because the first expression if you simplify it would equal 24+7x
The second expression if you would factor them out would equal 6x+24+x so if you would simplify it, it would equal 7x+24