The answer to the question
Answer:
ggggggggggggggggggggggggggggggg
I'm not to sure about my work, since I got the wrong answer, then plugged in until they were equal. So, I'm not adding it so no one is confused by it. (because it isn't right)
y=3, x=4.
Answer:
The length of the legs is 8.64cm and 14.64cm respectively
Step-by-step explanation:
I've added an attachment to aid my explanation.
At different intervals, I'll be making reference to it.
Given



From the attachment, we have:

Since, M is the Midpoint

Substitute 17 for AB


Also, from the attachment


Substitute 8.5 for y


--------- (1)
Also, from the attachment

Substitute 8.5 for z


----------- (2)
Subtract (2) from (1)


Make x the subject

Apply Pythagoras Theorem:
We have that:

The above can be replaced with
(see attachment)

Substitute 6 + w for x




Reorder

Solve using quadratic equation:

Where







Split:
or 
or 
or 
But length can't be negative
So:

Recall that: 


<em>Hence, the length of the legs is 8.64cm and 14.64cm respectively</em>
$0.55 per cupcake bc if you plug 1 in for x then c would be equivalent to $0.55