I've been working on this problem for ages and Liessa helped me to come up with a solution.  However, after inserting the numerical values given, it didn't work out.  I've rewritten the equations and gone over this problem several times but I still can't figure out why.  Can anyone help?
1) The sum of three numbers is S. The third one is K less than H times the sum of the first two. The first plus K times the second plus L times the third is P. What are the three numbers? 
NOTE: the part which I didn't get was the value of K since the given value of K is different for each part.  The 'K less than' part is K = 5 but the 'K times the second' part is K = 3.  So how can you apply two different values of K into the same equation  
 
 
Values to be inserted: S = 7, K = 5, H = 2, K = 3, L = 2, P = 15
Anyway, I managed to derive three equations using x, y and z as values: 
equation 1) x + y + z = S 
equation 2) z = h( x + y ) - K 
equation 3) x + Ky + Lz = P
Oh and can anyone help me manipulate this equation in terms of x?  I hate working wit square roots so I'm convinced I got the wrong answer  
 
 
2 * [ ( (square root of 3) / 4 ) * ( 4 / square root of 3x ) ^2 ] + 3 * ( 4 / square root of 3x ) x