How do I convert a 3-axis quaternion to a 1-axis x-y axis plane?

As an overall check I can make sure the resulting acceleration vector is zero when sitting still. Thanks again for the thoughtful accurate quick responses.