My potted lemon tree has been losing leaves. The leaves exhibit a pattern of lighter blotches at the edge of the leaves, which I suspect may be due to a magnesium deficiency, but also a strange pattern of dry spots on the upper surface of the leaves, which I don't know what to attribute to.
What could be causing these? I've attached a couple of images.