In triangle ABC, angle A measures $x$ degrees, angle B measures $2x$ degrees, and angle C is a right angle. If the measure of angle A is such that it is less than 45 degrees, what is the measure of angle B in degrees?