X-ray investigation of barium yttrium cuprate (Ba2YCu3O6)