A one-way ticket to Sóller from Palma costs around €18. If you want to purchase a return ticket, it costs €25. So, buy that ticket and take the ride! Plus, if you also want to explore the Port de Sóller, you can take the tram from the Sóller station and be there in about 15-20 minutes for only €7.