It’s not that straightforward, as ever. The PMs party, the PSOE actually only lost 5 seats compared with their result in the last election, but parties further to the left of PSOE did not do as well as anticipated. The party with the most seats now, is centrist right, and needs to reach agreement with Vox, which is the Spanish far right, in order to govern.
If we had proportional representation and it were this country, it would be like the Greens and Lib Dem’s doing worse than expected and unable to form a majority coalition with Labour, and the Tories doing a bit better than Labour (132 seats compared with 116) , but forced to form a coalition with Reform in order to govern.