The total cost for the clothes is the sum of the total cost for the shirts and that of the socks. Let x be the price of each sock and that the equation that would best represent the given above is,
4(15) + 6x = 78
The value of x is 3. Therefore, each sock costs $3.