Therefore,

substituting in (6) we get:

Similarly,

and