Let the second part be 'x'
First part is 8 less than twice the second part
Then the first part will be 2x-8
By the problem we have sum of first part and second part is 178
x+2x-8=178
3x-8=178
3x=178+8=186
x=186/3 = 62
So the first part is 2x-8 = 2(62)-8 = 124-8=116
Second part is x = 62
Answer : 116,62