Venus and Serena measured a tennis court and found that it was 42ft longer than it was wide and had a perimeter of 228ft. What were the length and the width of the tennis court?