Answer:
Cost of each item bought by Spongebob 
Cost of items bought by Spongebob = 
Cost of each item bought by Patrick 
Cost of items bought by Patrick = 
Step-by-step explanation:
Let
denotes cost of each item bought by Spongebob.
Number of items bought by Spongebob = 3
So,
Cost of items bought by Spongebob = 
Cost of each item bought by Patrick = 
Number of items bought by Patrick = 5
Cost of items bought by Patrick = 
Both Spongebob and Patrick paid the same amount of money.
So,

So,
Cost of each item bought by Spongebob 
Cost of items bought by Spongebob = 
Cost of each item bought by Patrick 
Cost of items bought by Patrick = 