How can we solve for phi?

How can we solve for phi?