_Hint_
There is an algorithm described into:
* Patrick Blackburn & Maarten de Rijke & Yde Venema, Modal Logic (2001), **Ch3.6 Sahlqvist Formulas** ; see Example 3.43, page 159.
The formula:
> $St_x(\varphi) := ∀P∀x \ [∃y(R(x,y) ∧ ∃z(R(y,z) ∧ P(z))) → ∃w(R(x,w) ∧ P(w))]$
must be converted by the algorithm, with the instantiation $\sigma(P) := \lambda u . (u=z)$, into:
> $∀x ∀y ∀z \ [(R(x,y) ∧ R(y,z) ∧ z=z) → ∃w(R(x,w) ∧ w=z)]$
which is equivalent to:
> $∀x ∀y ∀z \ [(R(x,y) ∧ R(y,z)) → R(x,z)]$.