Joshua currently does a total of 8 pushups each day. He plans to increase the number of pushups he does each day by 2 pushups until he is doing a total of 30 pushups each day. How many days would this take? Use x to represent days.