Which score would be better?

Hi guys!

Before I ask, I understand that these scores are not high at all, but I still want to know which score would technically look better. Thank you! The one thing that makes me nervous is the math score. I improved on my writing, but I did worst on my math the second time. My essay also went down 1 point. Do UCs value math more than writing or are they seen as equal?
Thank you so much!!

Reading: 550 Math: 570 Writing: 530 Essay is 9 = 1650

Reading 550 Math: 530 Writing 600 Essay is 8: 1680

Either way, you have to report both scores. They say to report your highest overall score on the application, but you still send both scores in, so they will see both scores.