Shawna and Jia worked together to paint a house. Combined they worked for a total of y hours. Before the job started, Shawna paid t dollars to purchase paint and other supplies for the job. When the job was completed, Shawna was given a total of d dollars to pay for the work as well as reimburse her for the supplies. If Shawna worked for x more hours than Jia, how much money should Shawna give to Jia such that Shawna and Jia are each paid the same hourly rate for their work?
A) \(\frac{(d-t)(y-x)}{2y}\)
B) \(\frac{(d-t)}{y}\)
C) \(\frac{(d-x)}{y} - t\)
D) \(\frac{(dx - t)}{2}\)
E) \(\frac{(d-t)(y+x)}{2y}\)